<?php
namespace app\api\service\serv;
/**
 * UserService
 * @Author Vee7
 * @Date 2021/12/23
 * @Time 15:00
 * @Description Vee7
 */

interface ArticleService
{
    public function getArticleList($orderby='sort',$order='desc');

    public function getArticleData($id);

    public function addArticleList(array $addArray,$author,$type);

    public function getArticleListCount();

    public function getArticleListPage($page,$limit,$orderby='sort',$order='desc');

    public function searchArticleListPage($field,$where,$searchData,$page,$limit,$orderby='sort',$order='desc');

    public function delArticleList(array $id);

    public function editArticleList(array $data);
}